import reactLogo from './assets/react.svg'
import viteLogo from '/vite.svg'
import './App.css'
import Hello from "./components/Hello.tsx";
import {useEffect} from "react";

function App() {

  useEffect(()=>{
    console.log('PORT：', import.meta.env.VITE_PORT)
    console.log('VITE_APP_NAME：', import.meta.env.VITE_APP_NAME)
  }, [])

  return (
    <>
      <div>
        <a href="https://vite.dev" target="_blank">
          <img src={viteLogo} className="logo" alt="Vite logo"/>
        </a>
        <a href="https://react.dev" target="_blank">
          <img src={reactLogo} className="logo react" alt="React logo"/>
        </a>
      </div>
      <Hello></Hello>
    </>
  )
}

export default App
